import request from '@/utils/request'
// 获取小区
export function getActivityPlotAPI() {
  return request({
    url: '/community',
    method: 'get'
  })
}

export function getlist(params) {
  return request({
    url: '/device/index?community_code=' + params,
    method: 'get'
  })
}


export function getCar(params) {
  return request({
    url: '/parking/index?community_code=' + params,
    method: 'get'
  })
}